import App from './App'
const callphone = (p) => { //拨打电话
	console.log("拨打电话");
	uni.makePhoneCall({
		phoneNumber: p.toString()
	}).catch((e) => {
		// console.log(e)  //用catch(e)来捕获错误{makePhoneCall:fail cancel}
	})
}
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
Vue.prototype.callphone = callphone
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif
// main.js
import uView from "uview-ui";
Vue.use(uView);
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif